﻿using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace SlaughterItem.API.Application.Commands.Week02._PRQS.AddPRQSData
{
    public class AddPRQSDataCommand : IRequest<Result>
    {
        /// <summary>
        /// 检疫项目ID
        /// </summary>
        public int PRQSId { get; set; }
        /// <summary>
        /// 检疫项目名称
        /// </summary>
        public string PRQSName { get; set; } = string.Empty;
        /// <summary>
        /// 检疫指标
        /// </summary>
        public string PRQSindex { get; set; } = string.Empty;
        /// <summary>
        /// 标准要求
        /// </summary>
        public string Require { get; set; } = string.Empty;
        /// <summary>
        /// 启用状态
        /// </summary>
        public bool PRQSstate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; } = string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string FinallyName { get; set; } = string.Empty;
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime FinallyTime { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsPRQS { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool ISDeletePRQS { get; set; }
    }
}
